<div id="title">
    <img/>
    <div class="dropdown" id="dropdown">
        <a href="##" data-toggle="dropdown" class="dropdown-toggle">
            {$Think.session.name}<span class="caret"></span>
        </a>
        <ul class="dropdown-menu pull-right">
            <if {$Think.isTeacher}==true>
            <li ><a href="__MODULE__/TeaSettings/info"><span class="glyphicon glyphicon-user"></span> 个人设置</a></li>
            </if>
            <li class="divider"></li>
            <li ><a href="__MODULE__/Auth/logout"><span class="glyphicon glyphicon-log-out"></span> 安全退出</a></li>
        </ul>
    </div>
    <div class="classInfo">
        <h1>{$classInfo.cla_name} - {$classInfo.cou_name}</h1>
        <p>使用以下邀请码邀请学生加课</p>
        <p>{$classInfo.cla_code}</p>
        <input type="hidden" id="cla_id" value="{$classInfo.cla_id}"/>
    </div>
</div>
<div class="navbar navbar-inverse">
    <div class="row">
        <div class="navbar-header col-md-4 ">
            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".navbar-responsive-collapse">
                <span class="sr-only">Toggle Navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a href="__MODULE__/TeaClass/classes" class="navbar-brand left">
                <i class="fa fa-long-arrow-left"></i>
                课堂
            </a>
        </div>
        <div class="collapse navbar-collapse navbar-responsive-collapse">
            <div class="col-md-4 ">
                <ul class="nav navbar-nav nav-class">
                    <li <if condition="[action] eq quiz">class="active"</if>><a href="__MODULE__/TeaQuiz/quiz?cad={$classInfo.cla_id}">测试</a></li>
                    <li <if condition="[action] eq student">class="active"</if>><a href="__MODULE__/TeaClass/classStuInfo?cad={$classInfo.cla_id}">成员</a></li>
                    <li <if condition="[action] eq grade">class="active"</if>><a href="__MODULE__/QuizResult/grade?cad={$classInfo.cla_id}">成绩</a></li>
                </ul>
            </div>
        </div>
    </div>
</div>